package com.pw.ba.base.service.impl;

import com.pw.ba.base.mapper.IIndexMapper;
import com.pw.ba.base.pojo.CateGory;
import com.pw.ba.base.pojo.TopTab;
import com.pw.ba.base.service.IndexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexServiceImpl implements IndexService {

    @Autowired
    IIndexMapper iIndexMapper;

    @Override
    public List<TopTab> selectTab() {
        return iIndexMapper.selectTab();
    }

    @Override
    public List<CateGory> cateList() {
        return iIndexMapper.cateList();
    }

}
